#include "SEDLINKData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator==(const SEDLINKData::INDEPData& val1,
                                        const SEDLINKData::INDEPData& val2) {
  FIELD_COMPARE(m_SEID)
  FIELD_COMPARE(m_INDV)
  FIELD_COMPARE(m_C)
  return true;
}

bool SG::DataStructure::FEM::operator==(const SEDLINKData& val1,
                                        const SEDLINKData& val2) {
  FIELD_COMPARE(m_id)
  FIELD_COMPARE(m_DSEID)
  FIELD_COMPARE(m_DDVID)
  FIELD_COMPARE(m_C0)
  FIELD_COMPARE(m_CMULT)
  FIELD_COMPARE(m_domainId)
  return true;
}